package com.woniuxy.sale.service;

import com.woniuxy.commons.entity.sale.PackingMsg;
import com.woniuxy.commons.entity.sale.dto.ChooseProduceMsgDto;
import com.woniuxy.commons.result.Result;

import java.util.List;

public interface PackingMsgService {

    int insert(PackingMsg packingMsg);

    /**
     * <P>Author ideaAdmin
     * <P>TODO: 根据小包单的id 更改当前小包单、打包单、选货单的状态
     * <P>Date 13:15 2022/4/22
     * <P>* @param psId
     * <P>* @return com.woniuxy.commons.result.Result
     **/
    Result updatePackingStatus(Integer psId);

    List<PackingMsg> selectPackingMsgByPackingNum(String packingNum);

    List<ChooseProduceMsgDto> selectProductByProductId(int id);
}
